		<div id="header">
			<span id="flags">
				<?php
					$pageID = "";
					if(isset($_GET["page"]))
					{
						if($_GET["page"] == "logout")
						{
							unset($_SESSION['user']);
						}
						else
						{
							$pageID = "page=".$_GET["page"]."&";
						}
					}
					foreach($_SESSION['translation'] as $lang)
					{
						print("<a href='?".$pageID."lang=".$lang["langCode"]."'><img src='../resoursces/img/flags/".$lang["langCode"].".png' title='".$lang["langCode"]."' class='lang' /></a>");
					}
					if(isset($_SESSION['user']))
					{
							print("<br /><a href='?page=logout'> ".$_SESSION['translation'][$_SESSION['lang']]["logout"]." </a>");
					}
				?>
			</span>
		</div>